package com.lingyue.entity.module.def.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author deep
 * @version 1.0 on 2020-01-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("load_vehicle_temp")
@ApiModel(value="LoadVehicleTempEntity对象", description="")
public class LoadVehicleTempEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "LVT_ID", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "批次表ID")
    @TableField("LVT_LDB_ID")
    private Long ldbId;

    @ApiModelProperty(value = "经销商ID")
    @TableField("LVT_DEL_ID")
    private Long delId;

    @ApiModelProperty(value = "车架号")
    @TableField("LVT_VIN")
    private String vin;

    @ApiModelProperty(value = "车辆标签名称")
    @TableField("LVT_VEHICLE_LABLE")
    private String vehicleLable;

    @ApiModelProperty(value = "错误描述")
    @TableField("LVT_ERROR_MSG")
    private String errorMsg;

    @ApiModelProperty(value = "有效标识，Y/N")
    @TableField("LVT_VALID_FLAG")
    private String validFlag;

    @ApiModelProperty(value = "标签代码")
    @TableField("LVT_TAG_CODE")
    private String tagCode;

    @ApiModelProperty(value = "关联表ID")
    @TableField("LVT_REF_UNIQUE_KEY")
    private String refUniqueKey;


    public static final String LVT_ID = "LVT_ID";
    public static final String LVT_LDB_ID = "LVT_LDB_ID";
    public static final String LVT_DEL_ID = "LVT_DEL_ID";
    public static final String LVT_VIN = "LVT_VIN";
    public static final String LVT_VEHICLE_LABLE = "LVT_VEHICLE_LABLE";
    public static final String LVT_ERROR_MSG = "LVT_ERROR_MSG";
    public static final String LVT_VALID_FLAG = "LVT_VALID_FLAG";
    public static final String LVT_TAG_CODE = "LVT_TAG_CODE";
    public static final String LVT_REF_UNIQUE_KEY = "LVT_REF_UNIQUE_KEY";
}
